// RegLibCPP.cpp: Hauptprojektdatei.



#include "stdafx.h"

#include "RegEditForm.h"



using namespace System;
using namespace System::Windows::Forms;
using namespace System;
using namespace Be::Windows::Forms;


[STAThread]
int main(array<System::String ^> ^args)
{

	/*
	int cdofs;

	int usehive = 0;
	int pagestart;
	int freetest;
	struct hive * myhive;
	char path[1000];
	*/
	//myhive = openHive("C:\\temp\\Registry.dat", 1);
	//regedit_interactive(myhive);
	
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false);
	RegLibCPP::RegEditForm  form;
	Application::Run( %form );

	//nk_ls(myhive, "REGISTRY\\MACHINE\\SOFTWARE\\AnwaltVerlag\\schmerz\\UserConfig", cdofs + 4, 0);
	//writeHive()

    //Console::WriteLine(L"\n\nHello World");
    return 0;
}
